package leave.dataaccess;

import leave.exception.DataAccessException;
import leave.model.LeaveType;

public interface LeaveTypeDAO {
	LeaveType[] getAllLeaveTypes() throws DataAccessException;
	LeaveType createNewLeaveType();
	void addLeaveType(LeaveType lt) throws DataAccessException;
	void updateLeaveType(LeaveType lt) throws DataAccessException;
	void deleteLeaveType(LeaveType lt) throws DataAccessException;
}
